import { createRouter, createWebHashHistory } from 'vue-router'
import HomePage from '@/views/HomePage/index.vue'//综合展示
import Management from '@/views/management/index.vue'//数据管理
import Operation from '@/views/operation/index.vue'//运维管理
const routes = [
  {
    path: '/',
    name: 'HomePage',
    component: HomePage
  },
  {
    path: '/management',
    name: 'Management',
    component: Management
  },
  {
    path: '/operation',
    name: 'Operation',
    component: Operation
  },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
